<?php

use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $searchModel app\models\GkyCourse2Search */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = '成绩统计';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="gky-course2-index">
    <p>
        <?= Html::a('新增', ['create'], ['class' => 'btn btn-success']) ?>
    </p>

    <?= GridView::widget([
         'id' => 'tableContainer',
        'dataProvider' => $dataProvider,
        'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],
            'id',
            'noon',
            'jc',
            'mon:ntext',
            'tue:ntext',
            // 'wed:ntext',
            // 'thu:ntext',
            // 'fri:ntext',
            // 'sat:ntext',
            // 'sun:ntext',
            // 'week',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>

</div>
